package com.xxdh.exception;

import lombok.Data;

@Data
public class BusiException extends RuntimeException {
    private int code;
    public BusiException(String message) {
        super(message);
    }

    public BusiException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getStatus(){
        return 500;
    };
}
